home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / m17n / si-samanala.mim < prev    next >
Text File  |  2009-04-29  |  3KB  |  154 lines

  1. ;; si-samanala.mim -- Sinhala input method for Samanala transliteration scheme
  2. ;; Copyright (C) 2004, 2005, 2006
  3. ;;   National Institute of Advanced Industrial Science and Technology (AIST)
  4. ;;   Registration Number H15PRO112
  5.  
  6. ;; This file is part of the m17n database; a sub-part of the m17n
  7. ;; library.
  8.  
  9. ;; The m17n library is free software; you can redistribute it and/or
  10. ;; modify it under the terms of the GNU Lesser General Public License
  11. ;; as published by the Free Software Foundation; either version 2.1 of
  12. ;; the License, or (at your option) any later version.
  13.  
  14. ;; The m17n library is distributed in the hope that it will be useful,
  15. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  17. ;; Lesser General Public License for more details.
  18.  
  19. ;; You should have received a copy of the GNU Lesser General Public
  20. ;; License along with the m17n library; if not, write to the Free
  21. ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  22. ;; Boston, MA 02110-1301, USA.
  23.  
  24. (input-method si samanala)
  25.  
  26. (description "Sinhala input method using transliteration.
  27. The transleteration system is based on the Samanala version 2
  28. developed by Prasad Dharmasena.
  29.   <http://www.nongnu.org/sinhala/doc/transliteration/sinhala-transliteration_1.html>
  30. ")
  31.  
  32. (title "Samanala")
  33.  
  34. (map
  35.  (consonant
  36.   ("k" "α╢Üα╖è") ("k_" "α╢Üα╖è")
  37.   ("K" "α╢¢α╖è")
  38.   ("g" "α╢£α╖è") ("g_" "α╢£α╖è")
  39.   ("G" "α╢¥α╖è")
  40.   ("\"NG" "α╢₧α╖è")
  41.   ("\"ng" "α╢ƒα╖è")
  42.   ("ch" "α╢áα╖è")
  43.   ("CH" "α╢íα╖è")
  44.   ("j" "α╢óα╖è")
  45.   ("J" "α╢úα╖è")
  46.   ("kn" "α╢ñα╖è")
  47.   ("gn" "α╢Ñα╖è")
  48.   ("t" "α╢ºα╖è") ("t_" "α╢ºα╖è")
  49.   ("T" "α╢¿α╖è") ("T_" "α╢¿α╖è")
  50.   ("d" "α╢⌐α╖è") ("d_" "α╢⌐α╖è")
  51.   ("D" "α╢¬α╖è") ("D_" "α╢¬α╖è")
  52.   ("N" "α╢½α╖è")
  53.   ("\"nd" "α╢¼α╖è") ("\"nd_" "α╢¼α╖è")
  54.   ("th" "α╢¡α╖è")
  55.   ("TH" "α╢«α╖è")
  56.   ("dh" "α╢»α╖è")
  57.   ("DH" "α╢░α╖è")
  58.   ("n" "α╢▒α╖è")
  59.   ("\"ndh" "α╢│α╖è")
  60.   ("p" "α╢┤α╖è")
  61.   ("P" "α╢╡α╖è")
  62.   ("b" "α╢╢α╖è")
  63.   ("B" "α╢╖α╖è")
  64.   ("m" "α╢╕α╖è")
  65.   ("\"mb" "α╢╣α╖è")
  66.   ("y" "α╢║α╖è")
  67.   ("r" "α╢╗α╖è")
  68.   ("l" "α╢╜α╖è")
  69.   ("v" "α╖Çα╖è")
  70.   ("w" "α╖Çα╖è")
  71.   ("sh" "α╖üα╖è")
  72.   ("SH" "α╖éα╖è")
  73.   ("s" "α╖âα╖è") ("s_" "α╖âα╖è")
  74.   ("h" "α╖äα╖è")
  75.   ("L" "α╖àα╖è")
  76.   ("f" "α╖åα╖è")
  77.  
  78.   ("\"kSH" "α╢Üα╖èΓÇìα╖éα╖è")
  79.   )
  80.  
  81.  (independent
  82.   ("a" "α╢à")
  83.   ("a~" "α╢å")
  84.   ("a^" "α╢ç")
  85.   ("a^~" "α╢ê")
  86.   ("i" "α╢ë")
  87.   ("i~" "α╢è")
  88.   ("u" "α╢ï")
  89.   ("u~" "α╢î")
  90.   ("RU" "α╢ì")
  91.   ("RU~" "α╢Ä")
  92.   ("e" "α╢æ")
  93.   ("e~" "α╢Æ")
  94.   ("ai" "α╢ô")
  95.   ("o" "α╢ö")
  96.   ("o~" "α╢ò")
  97.   ("au" "α╢û")
  98.   ("NG" "α╢é")
  99.   ("H" "α╢â"))
  100.  
  101.  (dependent
  102.   ("a" (delete @-))
  103.   ("a~" (delete @-) "α╖Å")
  104.   ("a^" (delete @-) "α╖É")
  105.   ("a^~" (delete @-) "α╖æ")
  106.   ("i" (delete @-) "α╖Æ")
  107.   ("i~" (delete @-) "α╖ô")
  108.   ("u" (delete @-) "α╖ö")
  109.   ("u~" (delete @-) "α╖û")
  110.   ("RU" (delete @-) "α╖ÿ")
  111.   ("e" (delete @-) "α╖Ö")
  112.   ("e~" (delete @-) "α╖Ü")
  113.   ("ai" (delete @-) "α╖¢")
  114.   ("o" (delete @-) "α╖£")
  115.   ("o~" (delete @-) "α╖¥")
  116.   ("au" (delete @-) "α╖₧")
  117.   ("RU~" (delete @-) "α╖▓")
  118.   )
  119.  
  120.  (ry
  121.   ("r" "ΓÇìα╢╗α╖è")
  122.   ("y" "ΓÇìα╢║α╖è"))
  123.  
  124.  (underscore
  125.   ("_"))
  126.  )
  127.  
  128. (state
  129.  (init
  130.   (consonant (shift second))
  131.   (independent))
  132.  
  133.  (second
  134.   (underscore (shift init))
  135.   (dependent (shift init))
  136.   (ry))
  137.  )
  138.  
  139.  
  140. ;; g_na    α╢£α╖èα╢▒
  141. ;; "kva    α╢Üα╖èΓÇìα╖Ç
  142. ;; "kSHa    α╢Üα╖èΓÇìα╖é
  143. ;; "nDHa    α╢Üα╖èΓÇìα╢░
  144. ;; "nTHa    α╢▒ΓÇìα╢«
  145. ;; "n_dha    α╢▒α╖èΓÇìα╢»
  146. ;; "thTHa    α╢¡α╖èΓÇìα╢«
  147. ;; "rma    α╢╗α╖èΓÇìα╢╕
  148.  
  149.  
  150. ;; Local Variables:
  151. ;; coding: utf-8
  152. ;; mode: lisp
  153. ;; End:
  154.